package com.xw.stream;

import java.util.Arrays;
import java.util.stream.Stream;

/**
 * @author: xw
 * @create: 2023/5/11 11:34
 * @description:
 */
public class Code01_createStream {
    public static void main(String[] args) {
        String[] arr = new String[]{"万", "猫", "学", "社"};
        Stream<String> stream = Arrays.stream(arr);
        stream = Stream.of("万", "猫", "学", "社");
    }
}
